From e70fec1663e4a8947fac518032cc7a1ebb6cd424 Mon Sep 17 00:00:00 2001
From: Gabriel Retana <gabrielretana@about.me>
Date: Sat, 19 May 2018 22:20:43 -0600
Subject: [PATCH] Use application font instead of create new one

---
 itemcontroller.cpp | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/itemcontroller.cpp b/itemcontroller.cpp
index 0b35a9d..068cec8 100644
--- a/itemcontroller.cpp
+++ b/itemcontroller.cpp
@@ -1,4 +1,5 @@
 #include <QDBusPendingCall>
+#include <QApplication>
 #include "iconproducer.h"
 #include "appletstrings.h"
 #include "itemcontroller.h"
@@ -44,7 +45,10 @@ void ServiceItemController::update()
     int strength = connmanObject->properties["Strength"].toInt();
 
     item->setData(state == "online" ? name + ' ' + QChar(0x2713) : name, Qt::DisplayRole);
-    item->setData(state == "ready" || state == "online" ? QFont("", -1, QFont::Bold) : QVariant(), Qt::FontRole);
+    //item->setData(state == "ready" || state == "online" ? QFont("", -1, QFont::Bold) : QVariant(), Qt::FontRole);
+    QFont font = qApp->font();
+    font.setBold(true);
+    item->setData(state == "ready" || state == "online" ? font : QVariant(), Qt::FontRole);
 
     if (type == "wifi") {
         item->setData(IconProducer::instance().wireless(strength), Qt::DecorationRole);
